package br.com.lambdacore.domain.repository;

import java.io.Serializable;
import java.util.Collection;

public interface Repository<T, PK extends Serializable> {

	T find(PK id);

	Collection<? extends T> findAll();

	T merge(T entity);

	void persist(T entity);

	void remove(T entity);

}
